package org.kinglone.back.system.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.omg.CORBA.PRIVATE_MEMBER;

/**
 * 系统配置实体类
 * @author yejinlong
 * 2017年7月25日
 * @version 1.0
 */
@Entity
@Table(name="systemparam")
public class SystemParam implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id @GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Column(name="sysid", unique = true, nullable = false, length = 32)
	private String sysid;
	
	//操作时间
	@Column(name="operationTime",nullable =false,length=19)
	private String operationTime;
	
	//参数名称
	@Column(name="paramName",nullable =false)
	private String paramName;
	
	//参数值
	@Column(name="paramValue",nullable =false)
	private String paramValue;
	
	//参数类型
	@Column(name="paramDateType",nullable =false)
	private String paramDateType;

	public SystemParam() {
	}

	public SystemParam(String sysid, String operationTime, String paramName, String paramValue, String paramDateType) {
		super();
		this.sysid = sysid;
		this.operationTime = operationTime;
		this.paramName = paramName;
		this.paramValue = paramValue;
		this.paramDateType = paramDateType;
	}

	public String getSysid() {
		return sysid;
	}

	public void setSysid(String sysid) {
		this.sysid = sysid;
	}

	public String getOperationTime() {
		return operationTime;
	}

	public void setOperationTime(String operationTime) {
		this.operationTime = operationTime;
	}

	public String getParamName() {
		return paramName;
	}

	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	public String getParamValue() {
		return paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	public String getParamDateType() {
		return paramDateType;
	}

	public void setParamDateType(String paramDateType) {
		this.paramDateType = paramDateType;
	}

	
}
